#pragma once
#include "cybertron/sensor/noise/TimeNoise.hpp"
#include "cybertron/sensor/noise/WhiteNoise.hpp"

CYBERTRON_BEGIN

// for random work noise
class BrownNoise : public TimeNoise
{
public:
	BrownNoise(float noisePerSquareHour = 5.0, float initialValue = 0.0);
	virtual ~BrownNoise();

	vec3 update() override;

protected:
	float m_noisePerSquareHour;
	WhiteNoise m_whiteNoise;
};

CYBERTRON_END